package com.example.demo.service.vip;

import java.util.List;

import com.example.demo.domain.tovip.Tovip;
import com.example.demo.domain.vip.Vip;

public interface VipService {
    int deleteByPrimaryKey(Integer vip_id);

    int insert(Vip record);

    int insertSelective(Vip record);

    Vip selectByPrimaryKey(Integer vip_id);

    int updateByPrimaryKeySelective(Vip record);

    int updateByPrimaryKey(Vip record);

    //以下是新增的方法

    //通用查询方法
    List<Vip> selectVipList(Vip vip);

    //删除方法，支持批量删除?
    int deleteVipByIds(String[] vipIds);

    List<Tovip> selectTovipName();

    int selectCountByTovipId(Integer id);

    Vip selectVip(Vip vip);


}
